

pi = 60000 / 110;




A5();T();
B1();T();
B2();T();

B2();A4();A1();T();
B3();T();
B3();T();
B3();T();
B3();T();
B3();O();
B3();T();

A2();A7();A5();T();
B2();T();
B2();T();
B2();T();
B2();T();
B2();O();
B2();T();

A3();A1();A6();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();O();
B1();T();

A1();A3();T();
A5();T();
A5();T();
A5();O();
A5();T();
B1();T();
B2();T();

B2();A4();A1();A6();T();
B3();T();
B3();T();
B3();T();
B3();T();
B3();T();
B3();T();
B5();T();

A2();A7();A5();T();
B3();T();
B3();T();
B3();T();
B3();T();
B3();T();
B2();T();
B1();T();

B2();A1();A5();A3();O();
B3();T();
B3();O();T();

B3();B1();A3();A1();O();
B4();O();
B3();B1();A2();O();
B2();T();
B3();T();

B2();A4();A1();A6();O();
B1();T();
B1();T();E();

B2();A5();A4();A1();O();E();

B1();A5();A3();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();

B1();O();
A7();T();
A5();T();O();T();
A5();T();

B1();A5();A3();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();
B1();T();

B1();T();
B1();T();
A7();T();
A5();T();O();T();
A5();T();

B1();A5();A1();T();
B1();T();
B1();T();
B1();T();
B1();O();
B1();T();
B1();T();

B2();A7();A2();A5();T();
A5();O();
A5();O();
A5();T();
A5();T();
A3();T();

A5();A1();A3();O();
A6();T();
A6();T();E();

B1();B1();A3();A1();E();
B2();A7();A3();A1();E();

B1();A5();A3();T();
B1();T();
B1();T();
B1();T();
B1();A1();O();
B1();O();

B1();A1();O();
A7();T();
A5();T();
A1();O();
A6();T();
A5();T();

B1();A5();A3();T();
B1();T();
B1();T();
B1();T();
B1();A3();A1();O();
B1();O();

B1();A3();A1();T();
B1();T();
A7();T();
A5();T();
A3();A1();O();
A7();T();
A5();T();

B1();A5();A1();O();
B1();T();
B1();T();
B1();A1();O();
B1();A6();T();
B1();T();

B2();A7();A2();T();
A5();O();
A5();T();
A2();T();
A5();T();
A5();T();
A3();T();

A5();O();
A6();T();
A6();T();
A3();A1();O();
A1();O();

A2();A7();A3();O();
A3();A1();O();
A4();A2();O();
A5();A3();O();

A6();A4();O();
A4();O();
A1();A6();A4();T();
A6();A4();T();
A6();A4();T();
A5();T();

A6();A2();T();
A7();T();
A7();A5();T();
A7();T();
A2();A7();A5();T();
A7();T();
A7();A5();T();
A6();T();

A7();A3();T();
B1();T();
B1();A6();T();
B1();T();
A3();A1();T();
A5();T();
A5();T();
A3();T();

A5();O();
A6();A3();T();
A6();T();
A7();A3();O();
A3();O();

A6();A4();O();
A4();O();
A1();A6();T();
A6();A4();T();
A6();A4();T();
A5();T();

A6();A2();T();
A7();T();
A5();T();
A7();T();
A2();A7();T();
A7();T();
A7();A5();T();
A5();T();

A7();A5();A1();T();
B1();T();
B1();A6();T();
B1();T();
A5();A1();O();
A1();O();

B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();A7();O();
B2();T();
B3();T();

B2();A4();O();
B1();A4();T();
A6();T();
A1();A6();A4();O();
B2();A4();T();
B3();T();

B2();A5();O();
B1();A5();T();
A6();T();
A2();A7();A5();O();
B2();A5();T();
B3();T();

B2();A5();A1();O();
B1();A1();T();
A5();T();
A5();A3();A1();T();
A5();T();
A5();A1();T();
A3();T();

A5();A3();T();
A6();T();
A6();A3();T();
A6();T();
A7();A3();O();
B3();A3();O();

B2();A2();A4();O();
B1();A1();A4();T();
A6();T();
A1();A6();A4();O();
B2();A2();A4();T();
B3();A3();T();

B2();A2();A5();T();
B1();A1();T();
A5();T();
A6();T();
A6();A2();A5();T();
A6();T();
B2();A2();A5();O();

B1();A1();A5();O();
A1();O();
A5();A3();A1();O();
B4();A1();O();

B3();B1();A5();A3();A1();E();T();
A5();T();
B1();A5();T();
B2();A5();T();

B2();A5();A4();T();
B3();A5();T();
B3();A5();A4();T();
B3();A5();T();
B3();A5();A1();T();
B3();A5();T();
A4();T();
B3();A5();T();

A5();T();
B2();A5();T();
B2();A5();T();
B2();A5();T();
B2();A5();A2();A7();T();
B2();A5();T();
A5();T();
B2();A5();T();

A6();T();
B1();A5();T();
B1();A5();A6();T();
B1();A5();T();
B1();A5();A3();A1();A6();T();
B1();A5();T();
A6();T();
B1();A5();T();

A3();T();
A5();T();
A5();A3();T();
A5();T();
A7();A3();T();
A5();T();
B1();A5();A3();T();
B2();A5();T();

B2();A5();A4();T();
B3();A5();T();
B3();A5();A4();T();
B3();A5();T();
B3();A5();A1();A6();A4();T();
B3();A5();T();
B3();A5();A4();T();
B5();A5();T();

A5();T();
B3();A5();T();
B3();A5();T();
B3();A5();T();
B3();A5();A2();A7();T();
B3();A5();T();
B2();A5();T();
B1();A5();T();

B2();A5();A1();O();
B3();A1();T();
B3();T();
A5();A1();O();
A1();O();

B3();B1();A3();A1();O();
B4();O();
B3();A3();A1();A7();T();
A5();T();
B1();T();
B2();T();

B2();A5();A1();T();
B3();A5();T();
B3();A5();T();
B3();A5();T();
B3();A5();A1();A6();T();
B3();A5();T();
B3();A5();T();
B5();A5();T();

B2();A5();A2();T();
B2();A5();T();
B2();A5();T();
B2();A5();T();
B2();A5();A2();A7();T();
B2();A5();T();
A5();T();
B2();A5();T();

A3();A6();T();
B1();A5();T();
B1();A5();A6();T();
B1();A5();T();
B1();A5();A3();A1();T();
B1();A5();T();
A6();T();
B1();A5();T();

A7();A3();T();
A5();T();
A5();A3();T();
A5();T();
A7();A3();T();
A5();T();
B1();A5();A3();T();
B2();A5();T();

B2();A5();A1();A4();T();
B3();A5();T();
B3();A5();A4();T();
B3();A5();T();
B3();A5();A1();A6();T();
B3();A5();T();
B3();A5();A4();T();
B5();A5();T();

A2();A5();T();
B3();A5();T();
B3();A5();T();
B3();A5();T();
B3();A5();A2();A7();T();
B3();A5();T();
B2();A5();T();
B1();A5();T();

B2();A5();A1();O();
B3();A1();T();
B3();T();
A5();A1();O();
A1();O();

B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();A7();O();
B2();T();
B3();T();

B2();A4();O();
B1();A4();T();
B1();T();
A1();A6();A4();O();
A4();O();

A5();O();
A5();O();
A2();A7();A5();O();
B2();T();
B3();T();

B2();A5();A1();O();
B1();A1();T();
B1();T();
A5();A3();A1();O();
B4();A1();O();

B3();B1();A3();A1();S();

A6();A4();O();
A1();O();
A4();T();
A6();A4();T();
A6();A4();A1();T();
A5();T();

A6();A5();T();
A7();T();
A7();A2();T();
A7();T();
A5();T();
A7();T();
A7();A2();T();
A6();T();

A7();T();
B1();T();
B1();T();
B1();O();
A5();O();
A3();T();

A5();O();
A6();T();
A6();T();
A3();O();
A7();O();

A6();A4();O();
A1();O();
A4();T();
A6();A4();T();
A6();A4();A1();T();
A5();T();

A6();A5();T();
A7();T();
A7();A2();T();
A7();T();
A5();T();
A7();T();
A7();A2();T();
A6();T();

A7();A1();O();
B1();A5();T();
B1();T();
A1();O();
A3();O();

B5();B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();O();
B2();T();
B3();T();

B2();A4();O();
B1();A1();T();
A6();T();
A4();O();
B2();T();
B3();T();

B2();A5();O();
B1();A2();T();
A6();T();
A5();O();
B2();T();
B3();T();

B2();A6();O();
B1();A3();T();
A5();O();
A5();T();
A5();T();
A3();T();

A5();A3();T();
A6();T();
A6();T();
A6();T();
A3();O();
B3();A3();O();

B2();A2();A4();O();
B1();A1();T();
A6();T();
A4();O();
B2();A2();A1();T();
B3();A3();T();

B2();A2();A5();T();
B1();A1();T();
A2();T();
A6();T();
A6();A5();T();
A6();T();
B2();A2();O();

B1();A1();O();
A1();O();
A5();A3();A1();O();
B4();A1();O();

B3();B1();A3();A1();E();T();
A5();T();
B1();A1();T();
B2();A2();T();

B2();A2();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();A1();T();
B3();A6();A3();T();
A4();T();
B3();A6();A3();T();

A5();T();
B2();A6();A2();T();
B2();A6();A2();A5();T();
B2();A6();A2();T();
B2();A6();A2();A5();A7();T();
B2();A6();A2();T();
A5();T();
B2();A6();A2();T();

A6();T();
B1();A1();T();
B1();A1();A6();T();
B1();A1();T();
B1();A1();A6();A3();T();
B1();A1();T();
A6();T();
B1();A1();T();

A3();T();
A5();T();
A5();A3();
A5();T();
A3();A7();T();
A5();A2();T();
B1();A1();T();
B2();A2();T();

B2();A2();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();A1();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B5();A5();T();

A5();T();
B3();A6();A3();T();
B3();A6();A3();A5();T();
B3();A6();A3();T();
B3();A6();A3();A5();A2();A7();T();
B3();A6();A3();T();
B3();A6();A3();A5();T();
B1();A1();T();

B2();A2();A1();O();
B3();A3();A1();T();
B3();A3();T();
A5();A3();A1();O();
A1();O();

B5();B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();A7();O();
B2();A2();T();
B3();A3();T();

B2();A2();A4();O();
B1();A1();A4();T();
B1();A1();T();
A4();A1();A6();O();
A4();O()

A5();O();
A5();O();
A5();A2();A7();O();
B2();A2();A5();T();
B3();A3();T();

B2();A2();A1();O();
B1();A1();T();
B1();A1();T();
A5();A3();A1();O();
A1();O();

A3();A1();O();
A1();O();
A2();A1();O();
A1();O();

B2();A6();A2();O();
A6();O();
A4();A2();A6();O();
B1();A1();A6();O();

A7();A3();O();
A5();O();
A6();A3();O();
A5();T();
A7();A3();T();

A5();A3();A1();O();
A1();O();
A5();O();
A1();O();

A1();O();
A1();O();
A1();O();
A1();O();

A6();A3();O();
A4();O();
A4();A1();O();
A6();A3();O();

A6();A3();O();
A5();
A6();A3();O();
A5();O();

B1();A3();A1();O();
A6();O();
A3();A6();O();
A6();O();

A6();O();
A6();O();
A6();O();
A6();O();

B2();A6();A2();O();
A6();O();
A4();A2();A6();O();
B1();A1();O();

A7();A3();O();
A5();O();
A6();A3();T();
A5();T();
A7();A3();T();

A5();A3();O();
A1();O();
A5();O();
A1();O();

A1();O();
A1();O();
A1();T();
A5();T();
A5();T();
A3();T();

A5();A4();T();
A6();T();
A6();A4();T();
A6();T();
A4();A1();T();
A6();T();
A6();A4();T();
A5();T();

A6();A5();T();
A7();T();
A7();A5();T();
A7();T();
A5();A2();T();
A7();T();
A7();A5();T();
A6();T();

A7();A6();O();
B1();A1();A6();T();
B1();A1();T();
A6();A3();T();
B3();A3();T();
B2();A2();A6();T();
B1();A1();T();

B2();A2();A6();O();
B3();A3();A6();T();
B3();A3();T();
A4();A2();A6();O();
B3();A3();A6();O();

B2();A2();A4();O();
B3();A3();A4();T();
A6();T();
A4();A1();A6();O();
B2();A2();A4();T();
B3();A3();T();

B2();A2();A5();T();
B1();A1();T();
A5();T();
A6();T();
A6();A5();A2();T();
A6();T();
B2();A2();A5();O();

B1();A1();O();
A1();O();
A5();A3();A1();O();
A1();O();

A1();F();
A3();F();
A5();F();
B1();A5();F();
B3();F();
B5();F();
B1();A1();T();
A5();T();
B1();A1();T();
B2();A2();T();

B2();A2();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A1();A6();A4();T();
B3();A6();A3();T();
A4();T();
B3();A6();A3();T();

A5();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
A5();T();
B2();A7();A5();A2();T();

A6();T();
B1();A5();A1();T();
B1();A5();A1();A6();T();
B1();A5();A1();T();
B1();A5();A1();A3();A6();T();
B1();A5();A1();T();
A6();T();
B1();A5();A1();T();

A3();T();
A5();T();
A5();A3();T();
A5();T();
A7();A3();T();
A5();A2();T();
B1();A1();A3();T();
B2();A2();T();

B2();A2();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A1();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B5();A5();T();

A5();T();
B3();A6();A3();T();
B3();A6();A3();A5();T();
B3();A6();A3();T();
B3();A6();A3();A2();A7();A5();T();
B3();A6();A3();T();
B2();A2();A5();T();
B1();A1();T();

B2();A2();A1();O();
B3();B1();A5();A3();A1();T();
B3();B1();A5();A3();T();
A5();A3();A1();O();
A1();O();

B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();A7();O();
A5();T();
B1();A1();T();
B2();A2();T();

A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A1();A4();T();
B3();A6();A3();T();
A4();T();
B3();A6();A3();T();

A5();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B2();A7();A5();A2();T();
B5();T();
B2();A7();A5();A2();T();

A6();T();
B1();A5();A1();T();
B1();A5();A1();A6();T();
B1();A5();A1();T();
B1();A5();A1();A3();A1();A6();T();
B1();A5();A1();T();
A6();T();
B1();A5();A1();T();

A3();T();
A5();T();
A5();A3();T();
A5();T();
A7();A3();T();
A5();A2();T();
B1();A1();A3();T();
B2();A2();T();

B2();A2();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B3();A6();A3();T();
B3();A6();A3();A1();A4();T();
B3();A6();A3();T();
B3();A6();A3();A4();T();
B5();A5();T();

A5();T();
B3();A6();A3();T();
B3();A6();A3();A5();T();
B3();A6();A3();T();
B3();A6();A3();A2();A7();A5();T();
B3();A6();A3();T();
B2();A2();A5();T();
B1();A1();T();

B2();A2();A1();O();
B3();B1();A5();A3();A1();T();
B3();B1();A5();A3();T();
A5();A3();A1();O();
A1();O();

B5();B3();B1();A3();A1();O();
B4();O();
B3();B1();A3();A1();A7();O();
B2();A2();T();
B3();A3();T();

B2();A2();A4();O();
B1();A1();A4();T();
B1();A1();T();
A1();A6();A4();O();
A4();O();

A5();O();
A5();O();
A2();A7();A5();O();
B2();T();
B3();T();

B2();A1();O();
B1();A1();T();
B1();T();
A5();O();
A2();O();

C1();B3();B1();A3();A1();S();


pi=60000/100;
O();
A5();O();
B1();O();T();
A7();T();

B1();A5();A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();

A4();T();
A1();T();
A5();A4();T();
A1();T();
B1();A4();T();
A1();T();
A4();T();
A7();A1();T();

B1();A5();A3();T();
A1();T();
A3();T();
A1();T();
A3();T();
A1();T();
A3();T();
A1();T();

A3();T();
A1();T();
A5();A3();T();
A1();T();
B1();B5();A3();T();
A1();T();
A3();T();
A7();A1();T();

B1();A5();A2();T();
A6();T();
A4();T();
A6();T();
A4();T();
A6();T();
A4();T();
A6();T();

A2();T();
A6();T();
A5();A4();T();
A6();T();
B2();A4();T();
A6();T();
A4();T();
A7();A6();T();

B1();A5();A1();T();
A5();T();
A3();T();
A5();T();
A3();T();
A5();T();
A3();T();
A5();T();

A3();A1();T();
A5();T();
A5();A3();T();
A5();T();
B1();A3();T();
A5();T();
A3();T();
A7();A5();T();

B1();A5();A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();

A4();T();
A1();T();
A5();A4();T();
A1();T();
B1();A4();T();
A1();T();
A4();T();
A7();A1();T();

B1();A5();A3();T();
A1();T();
A3();T();
A1();T();
A3();T();
A1();T();
A3();T();
A1();T();

A3();T();
A1();T();
A5();A3();T();
A1();T();
B1();A3();T();
A1();T();
A3();T();
A7();A1();T();

B1();A5();A2();T();
A6();T();
A4();T();
A6();T();
A4();T();
A6();T();
A4();T();
A6();T();

A2();T();
A6();T();
A5();A4();T();
A6();T();
B1();A4();T();
A6();T();
A4();T();
A7();A6();T();

B1();A5();A1();T();
A5();T();
A1();T();
A5();T();
A1();T();
A5();T();
A1();T();
A5();T();

A1();T();
A5();T();
A5();A1();T();
A5();T();
B1();B5();A1();T();
A5();T();
A1();T();
B2();A5();T();

B3();B1();A5();A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();
A4();T();
A1();T();

A4();T();
A1();T();
A5();A4();T();
A1();T();
B2();A4();T();
A1();T();
A4();T();
B4();A1();T();

B4();A3();T();
A1();T();
A3();T();
A1();T();
B3();A3();T();
A1();T();
A3();T();
A1();T();

A3();T();
A1();T();
A5();A3();T();
A1();T();
B1();A3();T();
A1();T();
A3();T();
A7();A1();T();

B1();A5();A4();
A1();T();
A4();T();
A6();T();
A1();T();
A4();T();
A6();T();
B1();T();


B4();A6();A4();A2();A5();S();

B2();B6();B5();A5();A2();S();

A5();T();
B1();T();
B2();T();

B2();A4();A1();A6();T();
B3();T();
B3();T();
B3();T();
B3();A4();A1();T();
B3();O();
B3();T();

A2();A5();T();
B2();T();
B2();T();
B2();T();
B2();A5();A2();T();
B2();O();
B2();T();

A3();A6();T();
B1();T();
B1();T();
B1();T();
B1();A6();A3();T();
B1();O();
B1();T();

A1();A3();T();
A5();T();
A5();T();
A5();T();
B3();T();
A5();T();
B1();T();
B2();T();

B2();A4();A1();A6();T();
B3();T();
B3();T();
B3();T();
B3();B4();T();
B3();T();
B3();T();
B5();T();

A2();A5();T();
B3();T();
B3();T();
B3();T();
B3();A5();A2();T();
B3();T();
B2();T();
B1();T();

B2();A5();A1();O();
B3();T();
B3();T();
A3();A1();O();
A5();O();

B3();B1();A3();A1();O();
B4();T();
B3();B1();A3();A1();A7();O();
B2();T();
B3();T();

B2();A4();A1();A6();O();
B1();T();
B1();T();O();

A2();A7();A5();E();
B2();T();
B3();T();

B2();A5();A1();O();
B1();T();
B1();T();O();
A4();O();

A3();A1();A5();O();
A2();O();
A1();A5();O();
B2();A7();T();
B3();T();

B2();A4();A1();A6();O();
B1();T();
B1();T();O();

B5();B2();A7();A5();A2();E();
B2();T();
B3();T();

B2();A1();O();
B1();A5();T();
B1();T();
A1();O();
A2();O();

A5();O();
B1();O();
B2();O();

B2();B5();B4();A5();A4();O();
B1();O();
B5();O();
B4();O();

B5();B2();B1();A5();A1();T();
A5();T();
A2();T();
A7();T();
A1();T();
A5();T();
B2();T();
A7();T();

B1();T()
B5();T();
B2();T();
B7();T();
B1();O();O();

B2();B1();B5();B3();

exit();